home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <stdlib.h>
-
- main ()
- { int response = 1;
-
- while ((response > 0) && (response < 4)) {
- printf("XOR network choices:\n");
- printf("\n");
- printf("\t1) Recall network using keyboard for input\n");
- printf("\t2) Recall network using ASCII file for input\n");
- printf("\t3) Training network using ASCII files for input and desired\n");
- printf("\t4) Exit\n");
- printf("\n");
- printf("Enter selection:\n");
- scanf("%d",&response);
- char systemCommand[128];
- if ((response > 0) && (response < 4)) {
- sprintf(systemCommand,"xor%d.exe",response);
- system(systemCommand);
- }
- }
- return 0;
- }
-